/*
   File: CreateTokenRequestDto.java
   Copyright 2004-2010 99Bill Corporation. All rights reserved.
   Created at   2011-8-30
   Author       zhe.yang
   Changed at   2011-8-30
 */

package com.bill99.golden.inf.sso.mdp.dto;

import java.io.Serializable;

/**
 * 创建Token的请求DTO
 */
public class CreateTokenRequestDto implements Serializable {

	private static final long serialVersionUID = 6771419104397322457L;
	/**
	 * 应用代码
	 */
	private String appCode;
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 用户的IP
	 */
	private String userIp;
	/**
	 * 用户浏览器类型
	 */
	private String explorerType;

	/**
	 * 用户代码
	 */
	private String userCode;
	/**
	 * 用户名称
	 */
	private String userName;
	/**
	 * 组织ID
	 */
	private String orgId;
	/**
	 * 组织代码
	 */
	private String orgCode;
	/**
	 * 组织名称
	 */
	private String orgName;
	/**
	 * 部门ID
	 */
	private String departmentId;
	/**
	 * 部门代码
	 */
	private String departmentCode;
	/**
	 * 部门名称
	 */
	private String departmentName;
	/**
	 * 备注
	 */
	private String memo;

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the userIp
	 */
	public String getUserIp() {
		return userIp;
	}

	/**
	 * @param userIp
	 *            the userIp to set
	 */
	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	/**
	 * @return the explorerType
	 */
	public String getExplorerType() {
		return explorerType;
	}

	/**
	 * @param explorerType
	 *            the explorerType to set
	 */
	public void setExplorerType(String explorerType) {
		this.explorerType = explorerType;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentCode() {
		return departmentCode;
	}

	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	@Override
	public String toString() {
		return "CreateTokenRequestDto [appCode=" + appCode + ", userId="
				+ userId + ", userIp=" + userIp + ", explorerType="
				+ explorerType + ", userCode=" + userCode + ", userName="
				+ userName + ", orgId=" + orgId + ", orgCode=" + orgCode
				+ ", orgName=" + orgName + ", departmentId=" + departmentId
				+ ", departmentCode=" + departmentCode + ", departmentName="
				+ departmentName + ", memo=" + memo + "]";
	}

}
